//package servlet;
//
//import anno.Autowired;
//import anno.RequestBody;
//import anno.ResponseBody;
//import service.UserService;
//import utils.ApiResult;
//
//import javax.servlet.annotation.WebServlet;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
//@WebServlet("/test")
//public class BaseServletImpl extends BaseServlet {
//
////    @Autowired
////    private UserService userService;
//
//    //    string类型的param，自动映射
//    @ResponseBody
//    public Object test(HttpServletRequest req, String testparam, HttpServletResponse resp, String testparam3) {
//        System.out.println(testparam);
//        System.out.println(testparam3);
////        return new ApiResult(200, "successfully",  userService.getData());
//        return new ApiResult(200, "successfully", "test");
//    }
//}
//
